package com.example.demo.mapper;

import com.example.demo.model.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserMapper {

    User selectByUserName(String username);

    void addUser(User user);

    List<User> selectAllUser(String username);

    Integer selectUserId(String username);
}
